package bs.app.Client;


public class ContentItem 
{
	/*public String Name,Title,Date;
//	public Image[] imgavatar;
	public Image[] imgofcontent;
	public String[] content;
	public int xName,yName,xTitle,yTitle,xDate,yDate,xImgAvatar,yImgAvatar,xImgOfContent,yImgOfContent;
	
	public ContentItem()
	{
		
	}
	public void paint(Graphics g)
	{
		paintContentItem(g);
	}
	public void paintContentItem(Graphics g)
	{
		if(Name!=null)
			CCanvas.mediumfont.drawString(g, Name, xName, yName, 0,  0xced5ce,0x080ca6);
		if(Title!=null)
			CCanvas.mediumfont.drawString(g, Title, xTitle, yTitle, 0,  0xced5ce,0x080ca6);
		if(Date!=null)
			CCanvas.mediumfont.drawString(g, Date, xDate, yDate, 0,  0xced5ce,0x080ca6);
//		if(imgavatar!=null)
//			g.drawImage(imgavatar[0], xImgAvatar, yImgAvatar, Graphics.TOP|Graphics.LEFT);
		if(imgofcontent!=null)
		{
			for(int i=0;i<imgofcontent.length;i++)
			{
				if(imgofcontent[i]!=null)
				g.drawImage(imgofcontent[i], xImgOfContent, yImgOfContent, Graphics.TOP|Graphics.LEFT);
			}
		}
		if(content!=null)
		{
			
		}
	}*/
}
